package com.zhixue.media.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zhixue.media.po.MediaProcess;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Auther: 李 力
 * @Date: 2025/4/28
 * @Description: com.zhixue.media.service
 * @version: 1.0
 */
public interface MediaProcessService extends IService<MediaProcess> {
    List<MediaProcess> getMediaProcessList(int shardIndex, int shardTotal, int count);

    int startTask(@Param("id") long id);

    void saveProcessFinishStatus(Long taskId, String status, String fileId, String url, String errorMsg);
}
